﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DebuggerStepThrough, DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152")]
    public class DeviceIOCapabilities
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private int audioOutputsField;
        private int audioSourcesField;
        private int relayOutputsField;
        private int videoOutputsField;
        private int videoSourcesField;
        private string xAddrField;

        [XmlAnyElement(Order=6)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=4)]
        public int AudioOutputs
        {
            get
            {
                return this.audioOutputsField;
            }
            set
            {
                this.audioOutputsField = value;
            }
        }

        [XmlElement(Order=3)]
        public int AudioSources
        {
            get
            {
                return this.audioSourcesField;
            }
            set
            {
                this.audioSourcesField = value;
            }
        }

        [XmlElement(Order=5)]
        public int RelayOutputs
        {
            get
            {
                return this.relayOutputsField;
            }
            set
            {
                this.relayOutputsField = value;
            }
        }

        [XmlElement(Order=2)]
        public int VideoOutputs
        {
            get
            {
                return this.videoOutputsField;
            }
            set
            {
                this.videoOutputsField = value;
            }
        }

        [XmlElement(Order=1)]
        public int VideoSources
        {
            get
            {
                return this.videoSourcesField;
            }
            set
            {
                this.videoSourcesField = value;
            }
        }

        [XmlElement(DataType="anyURI", Order=0)]
        public string XAddr
        {
            get
            {
                return this.xAddrField;
            }
            set
            {
                this.xAddrField = value;
            }
        }
    }
}

